package com.yangye.piconfig.config;

import com.yangye.piconfig.interceptor.MybatisPrepareInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by itoutsource.cz04 on 2019/7/10
 */
@Configuration
public class MybatisConfig {

	@Bean
	public MybatisPrepareInterceptor mybatisPrepareInterceptor(){
		return new MybatisPrepareInterceptor();
	}
}
